import request from '@/utils/request';

//反馈分页查询
export function queryFeedbackList(data) {
	return request({
		method: 'get',
		url: '/sysFeedback/query',
		params: data,
	})
}

//新增反馈
export function addFeedback(data) {
	return request({
		method: 'post',
		url: '/sysFeedback/add',
		data,
	})
}

//修改反馈
export function updateFeedback(data) {
	return request({
		method: 'post',
		url: '/sysFeedback/update',
		data,
	})
}

//删除反馈
export function deleteFeedback(id) {
	return request({
		method: 'get',
		url: '/sysFeedback/delete/' + id
	})
}

//反馈详情
export function queryFeedback(id) {
	return request({
		method: 'get',
		url: '/sysFeedback/query/' + id
	})
}